package io.renren.modules.generator.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import io.renren.modules.generator.dao.RegisterLicenseDao;
import io.renren.modules.generator.entity.RegisterLicenseEntity;
import io.renren.modules.generator.service.RegisterLicenseService;



@Service("registerLicenseService")
public class RegisterLicenseServiceImpl implements RegisterLicenseService {
	@Autowired
	private RegisterLicenseDao registerLicenseDao;
	
	@Override
	public RegisterLicenseEntity queryObject(Integer id){
		return registerLicenseDao.queryObject(id);
	}
	
	@Override
	public List<RegisterLicenseEntity> queryList(Map<String, Object> map){
		return registerLicenseDao.queryList(map);
	}
	
	@Override
	public int queryTotal(Map<String, Object> map){
		return registerLicenseDao.queryTotal(map);
	}
	
	@Override
	public void save(RegisterLicenseEntity registerLicense){
		registerLicenseDao.save(registerLicense);
	}
	
	@Override
	public void update(RegisterLicenseEntity registerLicense){
		registerLicenseDao.update(registerLicense);
	}
	
	@Override
	public void delete(Integer id){
		registerLicenseDao.delete(id);
	}
	
	@Override
	public void deleteBatch(Integer[] ids){
		registerLicenseDao.deleteBatch(ids);
	}
	
}
